//
//  UserManager.h
//  QuickCure1
//
//  Created by apple on 2016/11/3.
//  Copyright © 2016年 maoge. All rights reserved.
//
#import "PresonMondel.h"
#import <Foundation/Foundation.h>
#import "DoctorApplyModel.h"
#import "Users.h"

@interface UserManager : NSObject


//用户信息
@property (nonatomic, strong) Users *userInfo;
//名医通申请model数组
@property (nonatomic, strong) NSMutableArray<DoctorApplyModel *> *famousDoctorModelList;
//病例历史记录管理数组
@property (nonatomic,strong) NSMutableArray<PresonMondel *> *presonBingLIMDList;




//单例方法
+(instancetype)sharedManager;






//注销用户
-(void)cancellationUserInfo;






//存储当前User信息进沙盒
-(void)saveUserInfo;




//从沙盒去取出User信息
-(void)getUserInfoFromCache;



//存储病例到沙盒
-(void)saveCasesToCache;

//取出病例数组
-(void)loadCasesFromCache;


//存储名医申请数组
-(void)saveFamousDoctorModelList;


@end
